const pool = require('../tools/getPool');
const sendResponse = require('../tools/sendResponse');

module.exports = function(req, res){

	req.session.login = false;
	req.session.account = null;
	req.session.type = null;
	req.session.able = null;
	
	sendResponse('ok','logout successed!', null, res);

}